<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../../css/tabBar.css">
    <link rel="stylesheet" type="text/css" href="../comm/buy_comm.css"/>
    <link rel="stylesheet" type="text/css" href="./group.css">
    <title>极速拼团</title>
</head>

<body>
	<div class="header navigationBar">
      	<div class="wrapper">
          	<span id="btn-back" class="header-btn left-btn backtrack"></span>
          	<span class="title"><img src="../../../image/shop/buy/buy-07.png"/>极速拼团</span>
      	</div>
  	</div>
  	<div class="container top-container" v-cloak>
  		<div class="group-nav">
	  		<nav>
	  			<a class="type-nav active" href="javascript:void(0);" @click="selectClassify(0,-1)"><span>全部</span></a>
          <a class="type-nav" v-for="(item,index) in classifyList"><span v-text="item.name" @click="selectClassify(index+1, item.category_id)">T恤</span></a>
	  		</nav>
  		</div>
  		<ul class="group-list">
  			<li v-for="item in showList" @click="toGroupDetail(item.goods_id)">
          <div class="img_frame">
            <img :src="item.cover"/>
          </div>
  				<section>
  					<h2 v-text="item.name">商品标题</h2>
            <span class="price_tag">¥</span>
  					<b v-text="item.group_price">245.00</b>
  					<div>
  						<span>库存{{item.stock}}</span>
  						<div>
                <img v-for="(imgitem,index) in item.group_people" v-if="index < 4" :src="imgitem.avater"/>
  							<span>拼团<span>></span></span>
  						</div>
  					</div>
  				</section>
  			</li>
  		</ul>
  	</div>
</body>
<script src="../../sea.js" data-main="../../main"></script>
<script type="text/javascript" src="../../vue.js"></script>
<script type="text/javascript" src="./group.js"></script>
</html>
